package com.tydic.springboot.mapper;

import com.tydic.springboot.model.Student;
import com.tydic.springboot.model.Staff;

import java.util.List;
import java.util.Map;

public interface StudentMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(Student record);

    int insertSelective(Student record);

    Student selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);

    List<Student> selectAllStudent();

    List<Map<String, Object>> queryTest();

    List<Staff> queryUser();
}